﻿Set-Location $PSScriptRoot

Write-Host "`n[开始生成配置 ...]" -ForegroundColor Green

Write-Host "`n[开始生成 Universal 配置 ...]" -ForegroundColor Green
py -3 ../../bin/xresconv_cli.py ./universal.xml
Write-Host "`n[开始生成 Client Only 配置 ...]" -ForegroundColor Green
py -3 ../../bin/xresconv_cli.py ./client_only.xml
Write-Host "`n[开始生成 Server Only 配置 ...]" -ForegroundColor Green
py -3 ../../bin/xresconv_cli.py ./server_only.xml

Write-Host "`n[生成配置成功]`n" -ForegroundColor Green